package com.musemun.service.impl;

import com.musemun.mapper.RolePermissionMapper;
import com.musemun.pojo.RolePermission;
import com.musemun.service.RolePermissionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class RolePermissionServiceImpl implements RolePermissionService {
    @Resource
    RolePermissionMapper rolePermissionMapper;
    @Override
    public List<RolePermission> getAllRolePermission() {
        return rolePermissionMapper.getAllRolePermission();
    }
}
